@echo off
echo 开始构建三个不同包名的应用...

echo.
echo 1. 构建家庭医生应用...
flutter build apk --release --flavor home_doctor -t lib/main_home_doctor.dart

echo.
echo 2. 构建移动医生查房应用...
flutter build apk --release --flavor mobile_doctor -t lib/main_mobile_doctor.dart

echo.
echo 3. 构建移动医疗应用...
flutter build apk --release --flavor mobile_medical -t lib/main_mobile_medical.dart

echo.
echo 所有应用构建完成！
echo 应用位置：
echo - 家庭医生应用: build/app/outputs/flutter-apk/app-home_doctor-release.apk
echo - 移动医生查房应用: build/app/outputs/flutter-apk/app-mobile_doctor-release.apk
echo - 移动医疗应用: build/app/outputs/flutter-apk/app-mobile_medical-release.apk

pause